import i18n from '@/lang'
export const configTbColumns = [
  {
    title: i18n.t('auditHierarchy'),
    scopedSlots: { customRender: 'auditHierarchy' },
    width: '15%'
  },
  {
    title: i18n.t('auditRoles'),
    scopedSlots: { customRender: 'auditRoles' },
    width: '25%'
  },
  {
    title: i18n.t('auditUsers'),
    scopedSlots: { customRender: 'auditUsers' },
    width: '55%'
  },
  {
    title: i18n.t('operation'),
    dataIndex: 'action',
    scopedSlots: { customRender: 'action' },
    width: '5%'
  }
]
// 审核详情信息列表表头
export const taskVerifyDetailColumns = [
  {
    title: i18n.t('verifyLevel'),
    dataIndex: 'level',
    scopedSlots: { customRender: 'verifyLevel' },
    special: true,
    width: 100
  }, {
    title: i18n.t('auditRoles'),
    dataIndex: 'role',
    scopedSlots: { customRender: 'auditRoles' },
    special: true,
    width: 100
  }, {
    title: i18n.t('auditUsers'),
    dataIndex: 'user',
    scopedSlots: { customRender: 'auditUsers' },
    special: true,
    width: 100
  }, {
    slots: { title: 'operationResultName' },
    dataIndex: 'auditStatus',
    scopedSlots: { customRender: 'operationResult' },
    special: true,
    width: 110
  }, {
    title: i18n.t('attachment'),
    dataIndex: 'attachment',
    scopedSlots: { customRender: 'attachment' },
    special: true,
    width: 100
  }, {
    title: i18n.t('remark'),
    dataIndex: 'auditMessage',
    scopedSlots: { customRender: 'remark' },
    special: true,
    width: 100
  }, {
    title: i18n.t('verifyTime'),
    dataIndex: 'auditTime',
    scopedSlots: { customRender: 'verifyTime' },
    special: true,
    width: 100
  }]
